package xyz.yolin.mapper;

import xyz.yolin.pojo.QuestionOpt;
import xyz.yolin.pojo.Survey;

import java.util.List;
import java.util.Map;

public interface SurveyMapper {
    public int create(Survey survey);
    public int delete(Map<String, Object> paramMap);
    public int update(Map<String, Object> paramMap);
    public List<Survey> query(Map<String, Object> paramMap);
    public Survey detail(Map<String, Object> paramMap);
    public int count(Map<String, Object> paramMap);
    public List<Integer> queryByState(String state);
    public List<Integer> queryByStateForExec(String state);
}
